// 验证sql里面的信息是否存在

const User = {
  // 查询用户手机号
  queryUserTel(option) {
    console.log('*********sql*******');
    console.log(option);
    return 'select * from user where phonenumber =' + option.phonenumber +''
  },

  // 查询
  queryUserPwd(option) {
    console.log('***pwd******');
    console.log(option);
    return 'select * from user where (phonenumber =' + option.phonenumber + ') and ( password = "' + option.password+ '")'
    // return 'select * from user where (phonenumber = ' + option.phonenumber +') and password = '+option.password +''
  },


}

module.exports = User